package com.eorchis.module.auditing.domain;

import java.text.SimpleDateFormat;
import java.util.Date;

import com.eorchis.utils.utils.PropertyUtil;

/**   
* @Title: AuditingBean 
* @Description: 查询审核信息返回的实体对象  
* @author HuangTF 
* @date 2013-12-31
* @version V1.0  
*  
*/ 
public class AuditingBean 
{
	private String userName;//审核人姓名
	private Date auditingStateDate;//审核时间
	private String auditingStateDateStr;//审核时间字符串
	private Integer auditingState;//审核状态
	private String auditingOpinion;//审核意见

	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public Date getAuditingStateDate() {
		return auditingStateDate;
	}
	public void setAuditingStateDate(Date auditingStateDate) {
		this.auditingStateDate = auditingStateDate;
	}
	public String getAuditingStateDateStr() {
		if(PropertyUtil.objectNotEmpty(auditingStateDate))
		{
			return new SimpleDateFormat("yyyy-MM-dd HH:mm").format(auditingStateDate);
		}
		return "";
	}
	public void setAuditingStateDateStr(String auditingStateDateStr) {
		this.auditingStateDateStr = auditingStateDateStr;
	}
	public Integer getAuditingState() {
		return auditingState;
	}
	public void setAuditingState(Integer auditingState) {
		this.auditingState = auditingState;
	}
	public String getAuditingOpinion() {
		return auditingOpinion;
	}
	public void setAuditingOpinion(String auditingOpinion) {
		this.auditingOpinion = auditingOpinion;
	}
	

}
